﻿Public Class frmmain

    Private Sub btnShowKunden_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnShowKunden.Click
        frmShowKunden.Show()
        Me.Hide()
    End Sub

    Private Sub btnShowRapporte_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
        frmShowRapporte.Show()
        Me.Hide()
    End Sub

    Private Sub btnShowMitarbeiter_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnShowMitarbeiter.Click
        frmShowMitarbeiter.Show()
        Me.Hide()
    End Sub

    Private Sub btnShowAufgaben_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
        frmShowAufgaben.Show()
        Me.Hide()
    End Sub

    Private Sub btnShowProjekte_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnShowProjekte.Click
        frmShowProjekte.Show()
        Me.Hide()
    End Sub

    Private Sub frmmain_FormClosing(ByVal sender As System.Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles MyBase.FormClosing
        frmLogin.Close()
    End Sub
End Class
